package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyDoubleCard;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyContractParam;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyDoubleCardParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyDoubleCardResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 双证审核 服务类
 * </p>
 *
 * @author liuy
 * @since 2022-06-02
 */
public interface BtyDoubleCardService extends IService<BtyDoubleCard> {

    /**
     * 新增
     *
     * @author liuy
     * @Date 2022-06-02
     */
    void add(BtyDoubleCardParam param);

    /**
     * 删除
     *
     * @author liuy
     * @Date 2022-06-02
     */
    void delete(BtyDoubleCardParam param);

    /**
     * 更新
     *
     * @author liuy
     * @Date 2022-06-02
     */
    void update(BtyDoubleCardParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author liuy
     * @Date 2022-06-02
     */
    BtyDoubleCardResult findBySpec(BtyDoubleCardParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author liuy
     * @Date 2022-06-02
     */
    List<BtyDoubleCardResult> findListBySpec(BtyDoubleCardParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author liuy
     * @Date 2022-06-02
     */
     LayuiPageInfo findPageBySpec(BtyDoubleCardParam param);

    List<Map> yyjlList();

    List<Map> ddList(String yyjl);

    List<BtyDoubleCardResult>openidList(Long id);

    List<BtyDoubleCardResult>msgList();

    ResponseEntity<byte[]> exportMx(HttpServletRequest request, HttpServletResponse response, BtyDoubleCardParam param);

    void btnDown(String ids, HttpServletRequest request, HttpServletResponse response);

    LayuiPageInfo findPageReject();

    LayuiPageInfo findPageSubmit();
}
